<script setup>
import { RouterLink, RouterView } from 'vue-router'
</script>

<template>
  <header>
    <RouterLink to="/">Home</RouterLink>
    <RouterLink to="/RefView">RefView</RouterLink>
    <RouterLink to="/ReactiveView">ReactiveView</RouterLink>
    <RouterLink to="/ToView">ToView</RouterLink>
    <RouterLink to="/about">About</RouterLink>
  </header>
  <hr>
  <RouterView />
</template>

<style scoped>
header {
  line-height: 1.5;
  display: flex;
  flex-direction: row;
  place-items: center;
  margin-bottom: 3px;
}
header a {
    margin-right: 5px;
    padding-right: 5px;
    border-right: 1px solid red;
  }
</style>
